/* Main styles for AI Quiz Assistant extension */

:root {
  --primary-color: #165DFF;
  --danger-color: #F56C6C;
  --success-color: #67C23A;
  --warning-color: #E6A23C;
  --text-color: #303133;
  --text-color-light: #606266;
  --border-color: #DCDFE6;
  --bg-color: #F5F7FA;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--text-color);
}

/* Common styles */
.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

.btn:active {
  transform: scale(0.98);
}

.primary {
  background-color: var(--primary-color);
  color: white;
}

.danger {
  background-color: var(--danger-color);
  color: white;
}

.success {
  background-color: var(--success-color);
  color: white;
}

.warning {
  background-color: var(--warning-color);
  color: white;
}

/* Form elements */
input, select, textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Card styles */
.card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  padding: 16px;
  margin-bottom: 16px;
}

/* Status indicators */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.status-dot.idle {
  background-color: var(--border-color);
}

.status-dot.processing {
  background-color: var(--primary-color);
}

.status-dot.completed {
  background-color: var(--success-color);
}

.status-dot.error {
  background-color: var(--danger-color);
} 